<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="/css/detail.css">
    <link rel="stylesheet" href="/css/iconfont.css">
</head>

<body>
    <header></header>

    <!-- 详情内容 -->
    <!-- <div class="shangpinliebiao">
        <span>商城首页</span>
        &gt;
        <span>居家日用</span>
        &gt;
        <span>PUBG-快递小哥棒球帽</span>
    </div> -->
    <div class="shangpingXQ" id="xiangqingIMG">

        <!-- <i><img src="/images/banner2.jpg" alt=""></i>
            <ul>
                <li></li>
                <li></li>
                <li></li>
                <li></li>
            </ul>
        </div>
        <div class="xiangqingRight">
            <h2>PUBG-快递小哥棒球帽</h2>
            <p>￥168.00 <span>￥299.00</span></p>
            <div class="shuliang">
                数量  <button>-</button>
                <input type="text" value="1">
                <button>+</button>
            </div>
            <div class="goumai">
                <a href="">加入购物车</a>
                <a href="">立即购买</a>
            </div>   -->

    </div>
    <script type="text/html" id="detailData">
        <div class="shangpinliebiao">
            <span>商城首页</span>
            &gt;
            <span>居家日用</span>
            &gt;
            <span>{{title}}</span>
        </div>
 <div class="xiangqingBox">
     <div class="xiangqingLeft">
       <img src="{{photo[0].url}}" alt="" class="zoom-image">
            <ul id="gail">
                {{each photo item}}
                <li>
                    <a href="javascript:;" data-image="{{item.url}}" data-zoom-image="{{item.url}}">
                        <img src="{{item.url}}" alt="">
                    </a>
                </li>
                {{/each}}
                <!-- <li></li>
                <li></li>
                <li></li>
                <li></li> -->
            </ul>
        </div>

        <div class="xiangqingRight">    
            <h2>{{title}}</h2>
            <p>￥{{price}}元<span>￥{{originPrice}}元</span></p>
            <div class="shuliang">
                数量  <button class="shuliangJian">-</button>
                <input type="text" value="1">
                <button class="shuliangJia">+</button>
            </div>
            <div class="goumai">
                <a href="javascript:;" class="gouwuBtn">加入购物车</a>
                <a href='javascript:;' class="lijigoumai">立即购买</a>
                </div>  
            </div>
        </div>
    </div>
        <div class="xiangqingBigImg">
                {{each arr des}}
                 <img src="{{des.image.url}}" alt="">
                {{/each}}
                
               
            </div>
    </script>
            <!-- <div class="warning">
                加入成功
            </div> -->

    <footer></footer>
    <script src="/libs/require/require.min.js" data-main="/js/detail"></script>

</body>

</html>